import React, { useEffect } from 'react'

export default function Three(props) {
  useEffect(() => {
    console.log('three 挂载')

    return () => {
      console.log('three 卸载')
    }
  }, []);

  useEffect(() => {
    console.log('update');
  })
  return (
    <div>{props.count}</div>
  )
}
